<?php
/**
 * 企业人才库
 * @author chenhao 2010-01-14
 */
include( "inc/header.php" );
login_check( );
$id = $_GET['id'];
if (empty($id)) {
	admin_showerrs('参数传递错误，ID不能为空',null,0);
}
$result = mysql_query("SELECT * FROM tun2_hr_data WHERE id='$id'",$Conn);
$row = mysql_fetch_array($result);
?>
<table width="98%" border="1" align="center" cellpadding="5" cellspacing="0" class="table">
  <tr>
    <td>如果你人才库操作方面遇到什么问题或困难，请与<a href="http://www.22cn.cn" target="_blank">呜雷科技</a>联系</td>
  </tr>
</table>
<br />
<table width="98%" border="1" align="center" cellpadding="5" cellspacing="0" class="table">
  <tr>
    <td colspan="5" bgcolor="#F0F0F0"><strong>个人基本信息</strong></td>
  </tr>
  <tr>
    <td width="14%" align="right">姓名：</td>
    <td width="33%"><?=$row['name']?></td>
    <td width="13%" align="right">姓别：</td>
    <td width="28%"><?=($row['sex']==0)?'男':'女';?></td>
    <td width="12%" rowspan="6"><img src="<?php if(!empty($row['photo'])){echo "../".$upfile.$row['photo'];}else{echo "images/nopic.gif";}?>" border="0" width="140" height="140"></td>
  </tr>
  <tr>
    <td align="right"><?=getCredentials($row['credentials'])?>号码：</td>
    <td><?=$row['cardno']?></td>
    <td align="right">出生日期：</td>
    <td><?=$row['birthday']?></td>
  </tr>
  <tr>
    <td align="right">身高(CM)：</td>
    <td><?=$row['height']?></td>
    <td align="right">婚姻状况：</td>
    <td><?=($row['marriage']==0)?'已婚':'未婚';?></td>
  </tr>
  <tr>
    <td align="right">籍贯：</td>
    <td><?=$row['native']?></td>
    <td align="right">户口所在地：</td>
    <td><?=$row['place']?></td>
  </tr>
  <tr>
    <td align="right">通讯地址：</td>
    <td><?=$row['address']?></td>
    <td align="right">邮政编码：</td>
    <td><?=$row['postcode']?></td>
  </tr>
  <tr>
    <td align="right">联系电话：</td>
    <td><?=$row['telphone']?></td>
    <td align="right">电子邮件：</td>
    <td><?=$row['mail']?></td>
  </tr>
  <tr>
    <td align="right">手机：</td>
    <td><?=$row['mobile']?></td>
    <td align="right">工作年限：</td>
    <td colspan="2"><?=getWorkage($row['workage'])?></td>
  </tr>
  <tr>
    <td align="right">期望工作地区：</td>
    <td><?=$row['workplace']?></td>
    <td align="right">期望月薪：</td>
    <td colspan="2"><?=$row['monthlypay']?>元</td>
  </tr>
  <tr>
    <td align="right">工作性质：</td>
    <td colspan="4"><?=getNature($row['nature'])?></td>
  </tr>
  <tr>
    <td colspan="5" bgcolor="#F0F0F0"><strong>教育背景</strong></td>
  </tr>
  <tr>
    <td align="right">最高学历：</td>
    <td><?=getSchoolRecord($row['school_record'])?></td>
    <td align="right">毕业学校：</td>
    <td colspan="2"><?=$row['school']?></td>
  </tr>
  <tr>
    <td align="right">所学专业：</td>
    <td><?=$row['specialized']?></td>
    <td align="right">第一外语：</td>
    <td colspan="2"><?=$row['language1']?></td>
  </tr>
  <tr>
    <td align="right">第一外语水平：</td>
    <td><?=getLanguage1Level($row['language1_level'])?></td>
    <td align="right">第二外语：</td>
    <td colspan="2"><?=$row['language2']?></td>
  </tr>
  <tr>
    <td colspan="5" bgcolor="#F0F0F0"><strong>工作简历</strong></td>
  </tr>
  <tr>
    <td align="center">个<br />
      人<br />
      简<br />
      历</td>
    <td colspan="4"><?=$row['resume']?></td>
  </tr>
  
  <tr>
    <td align="right">附件：</td>
    <td colspan="4"><?=$row['enclosure']?> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<?php if(!empty($row['enclosure'])) echo "<a href='../$upfile"."$row[enclosure]'><b>[ 下载 ]</a></b>"?></td>
  </tr>
</table><br>
<center><a href="Admin_hr.php">返回列表→</a></center>
